import { BlankTipItem } from "../../../../view/common/tooltip/BlankTipItem";
import { LoaderHelp } from "../../../../../common/display/LoaderHelp";
import { ResFileConst } from "../../../../resource/ResFileConst";
import { Language } from "../../../../../../extend/language/Language";
import { GlobalClass } from "../../../../../../com/mui/core/GlobalClass";
import { ImagesConst } from "../../../../resource/ImagesConst";
type int = number;
//class PetCpnOverIcon
    
    export  class PetCpnOverIcon extends BlankTipItem
    {
        constructor(arg1: int, arg2: int, arg3: uint=0, arg4: int=0)
        {
            super(arg1, arg2, arg3, arg4);
            this.init();
            return;
        }

        /* internal  */init(): void
        {
            LoaderHelp.addResCallBack(ResFileConst.PetCpn, this.onLoadedHandler);
            this._overBitmap = new Object /* flash.display.Bitmap */();
            this.addChild(this._overBitmap);
            this.toolTipData = Language.getString(54731);
            return;
        }

        /* internal  */onLoadedHandler(): void
        {
            this._overBitmap.bitmapData = GlobalClass.getBitmapData(ImagesConst.PetCpnOverLabel);
            return;
        }

        private /* var */_overBitmap: Object /* flash.display.Bitmap */;
    }
